package org.lemon.transport.context.service.queue;

import com.google.protobuf.InvalidProtocolBufferException;
import org.lemon.transport.context.data.queue.message.QueueMessage;

public interface QueueMessageDecoder<T extends QueueMessage> {

    T decoder(QueueMessage message) throws InvalidProtocolBufferException;
}
